package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitUserProjectRefundRouter(Router *gin.RouterGroup) {
	UserProjectRefundRouter := Router.Group("userProjectRefund").Use(middleware.OperationRecord())
	{
		UserProjectRefundRouter.POST("createUserProjectRefund", v1.CreateUserProjectRefund)   // 新建UserProjectRefund
		UserProjectRefundRouter.DELETE("deleteUserProjectRefund", v1.DeleteUserProjectRefund) // 删除UserProjectRefund
		UserProjectRefundRouter.DELETE("deleteUserProjectRefundByIds", v1.DeleteUserProjectRefundByIds) // 批量删除UserProjectRefund
		UserProjectRefundRouter.PUT("updateUserProjectRefund", v1.UpdateUserProjectRefund)    // 更新UserProjectRefund
		UserProjectRefundRouter.GET("findUserProjectRefund", v1.FindUserProjectRefund)        // 根据ID获取UserProjectRefund
		UserProjectRefundRouter.GET("getUserProjectRefundList", v1.GetUserProjectRefundList)  // 获取UserProjectRefund列表
	}
}

